<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>Document</title>
    <style>
        
    </style>
</head>
<body>
    
</body>
<script>
    
    // const obj = {
    //     name:"admin",
    //     age:18
    // }

    // const obj2 = {
    //     ...obj
    // };

    // console.log(obj)
    // console.log(obj2)
    // console.log(obj2 === obj)


    // ===========


    const arr = [4,5,8,3,2,7];
    const arr2 = [...arr];
    console.log(arr);
    console.log(arr2);

    console.log(Math.max(arr));

    console.log(Math.max(...arr));
    console.log(Math.min(...arr));





</script>
</html>